class Solution(object):
    def toLowerCase(self, s):
        """
        :type s: str
        :rtype: str
        """
        t = ''
        for c in s:
            if 'A' <= c <= 'Z':
                t += chr(ord(c) - ord('A') + ord('a'))
            else:
                t += c
        return t